﻿using System;

namespace MQTTServer.Models
{
    /// <summary>
    /// 设置手动推送 控制记录
    /// </summary>
    public class ManualPushRecords
    {
        /// <summary>
        ///  设置手动推送 控制记录
        /// </summary>
        public string @operator { get; set; }

        /// <summary>
        /// 消息 id,区分每一条消
        /// </summary>
        public string messageId { get; set; }

        /// <summary>
        ///  ManualPushRecordsInfo
        /// </summary>
        public ManualPushRecordsInfo info { get; set; }
    }

    public class ManualPushRecordsInfo
    {
        /// <summary>
        /// 一体机设备号 id,返回值
        /// </summary>
        public string? facesluiceId { get; set; }
        /// <summary>
        /// 需要推送的控制记录起始时间。
        /// </summary>
        public DateTime TimeS { get; set; }
        /// <summary>
        /// 需要推送的控制记录结束时间。
        /// </summary>
        public DateTime TimeE { get; set; }
    }
}